source queryenv

#echo 'test jlex'
#cd lib
#./jlex.sh
#cd ..

echo ' '

echo 'creat scanner.java'
cd ./src/qp/parser
java Main scaner.lex
mv scaner.lex.java Yylex.java 

echo 'creat parser.java'
java java_cup.Main parser.cup

cd ../../../
echo 'rebuild whole project'
./build.sh


echo 'build a dataset for testing'
cd experiment
./build_data_base.sh

echo 'test the system'
./test_system.sh



